package com.hy.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;

import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@ContentRowHeight(20)
@HeadRowHeight(40)
@ColumnWidth(20)
// 内容字体设置成20
@ContentFontStyle(fontHeightInPoints = 12)
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserExportVO {


    @ExcelProperty(value = "用户ID",order = 0)
    private Integer userId;

    @ExcelProperty(value = "用户名",order = 1)
    private String username;

    @ColumnWidth(25)
    @ExcelProperty(value = "密码",order = 2)
    private String password;
    @ColumnWidth(30)
    @ExcelProperty(value = "单位(ID)",order = 3)
    private String unit;

    @ExcelProperty(value = "部门(ID)",order = 4)
    private String department;

    @ExcelProperty(value = "性别",order = 5)
    private String sex;

    @ColumnWidth(20)
    @ExcelProperty(value = "电话",order = 6)
    private String phone;

    @ColumnWidth(25)
    @ExcelProperty(value = "权限",order = 7)
    private String auth;

    @ColumnWidth(20)
    @ExcelProperty(value = "创建时间",order = 8)
    private String createDate;
    @ColumnWidth(20)
    @ExcelProperty(value = "修改时间",order = 9)
    private String updateDate;



}
